import { Routes, RouterModule }  from '@angular/router';
import {InformComponent} from "./inform.component";

const routes:Routes = [
  {
    path: '',
    component: InformComponent,
    children:[
      { path: 'sysinform',  loadChildren: './sys-inform/sys-inform.module#SysInformModule' },
      { path: 'userinform',  loadChildren: './user-inform/user-inform.module#UserInformModule' },
    ]
  }
];

export const InformRoute = RouterModule.forChild(routes);
